package com.ctshk.rpc.goods.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;

/**
 * <p>
 * 商品分类
 * </p>
 *
 * @author 姜斌文
 * @since 2021-04-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_commodity_classification")
@ApiModel(value="CommodityClassification对象", description="商品分类")
public class CommodityClassification extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分类编码")
    private String classificationNumber;

    @ApiModelProperty(value = "分类名称")
    private String classificationName;

    @ApiModelProperty(value = "分类等级")
    private Integer classificationLevel;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "父级id")
    private Long parentId;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "是否显示首页")
    private Integer isDisplay;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
